export default {
    data: {
        username: "夏德旺",
        age: 35,
        content: ["欢迎", "welcome", "hello", 2],
        student: {
            username: "张三", uclass: "18级01", age: 22
        },
        students: [
            {
                username: "张三", uclass: "18级01", age: 22
            },
            {
                username: "李四", uclass: "18级02", age: 20
            },
            {
                username: "王五", uclass: "18级01", age: 18
            }
        ],
        devices:[
            {name:"加湿器",temp:23},{name:"路由器",temp:23}
        ]
    },
    onInit() {
        this.username = "鸿蒙初学者";
    },
    click1(){
        console.info("click1")
    },
    click2(){
        console.info("click2")
    }
}
